<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"+ request.getServerName() + ":" + request.getServerPort()+ path + "/";
    String message=(String)request.getAttribute("message");
	ResourceBundle bundle = ResourceBundle.getBundle("com.tjsinfo.tjsoa.articles.properties.messageResource_zh_CN");
	String s = bundle.getString(message); 
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title></title>
	<meta http-equiv="x-ua-compatible" content="ie=7" />
	<link href="<%=basePath %>articles/style/css.css" rel="stylesheet" type="text/css" />
	<link rel="stylesheet" type="text/css" href="<%=basePath %>ajaxFramework/ext-2.1/resources/css/ext-all.css" />
 	<script type="text/javascript" src="<%=basePath %>ajaxFramework/ext-2.1/adapter/ext/ext-base.js"></script>
	<script type="text/javascript" src="<%=basePath %>ajaxFramework/ext-2.1/ext-all.js"></script>
	<script type="text/javascript" src="<%=basePath %>ajaxFramework/ext-2.1/ext-lang-zh_CN.js"></script>
	<script type="text/javascript" src="<%=basePath %>ajaxFramework/jQuery/jquery.js"></script>
 <!-- 	<script type="text/javascript" src="<%=basePath %>articles/articles/js/showmessage.js"></script>  -->
	<script type="text/javascript">
	var _message='<%=message%>';
    function clickLink(){
 	    if ((_message.trim()+'')=='logerr'){
		     var  strUrl='<%=basePath%>tjsinfo/tjsoa/articles/denglu.do';
		     window.close();  //目前未能正常转到父frame
		     window.open( strUrl,"about:_parent ");
	    }else{
		    var  strUrl='<%=basePath%>articles/manage/rulesManageList.jsp';
	    	window.location.href=strUrl;
		}
	}

	$(document).ready(function()
	{ 
	   Ext.MessageBox.alert('提示', '<%=s %>',clickLink);
	});

	</script>
	</head>
  <body>
  <div></div>
  </body>
</html>
